package com.yadang.optional;

/**
 * @author: 亚当
 * @date: 2023年02月20日 21:44
 * @package: com.yadang.optional
 * @Description: TODO
 */
public class Boy {
    private Girl girl;

    public Boy() {
    }

    public Boy(Girl girl) {
        this.girl = girl;
    }

    public Girl getGirl() {
        return girl;
    }

    public void setGirl(Girl girl) {
        this.girl = girl;
    }

    @Override
    public String toString() {
        return "Boy{" +
                "girl=" + girl +
                '}';
    }
}
